package com.longcai.service.messagepush;

import javax.transaction.RollbackException;

import com.baomidou.mybatisplus.extension.service.IService;
import com.longcai.advice.RollBackExecption;
import com.longcai.bean.ApiResult;
import com.longcai.bean.PageHelper;
import com.longcai.entity.messagepush.ClyjMessagePush;
import com.longcai.entity.messagepush.ClyjMessagePushFormwordDesc;
import com.longcai.page.table.PageTableResponse;

/**
 * <p>
 * 平台管理---消息推送 服务类
 * </p>
 *
 * @author kh
 * @since 2019-05-08
 */
public interface ClyjMessagePushService extends IService<ClyjMessagePush> {

	ApiResult<?> saveMessagePush(ClyjMessagePush clyjMessagePush,ClyjMessagePushFormwordDesc pushDesc) throws RollBackExecption;

	PageTableResponse messagePushList(ClyjMessagePush clyjMessagePush, PageHelper pageHelper);

	ApiResult<?> immediatelyPush(ClyjMessagePush clyjMessagePush,ClyjMessagePushFormwordDesc pushDesc) throws RollBackExecption, RollbackException;

}
